FROM openjdk:8-jdk

MAINTAINER JustTu <north.america@qq.com>

WORKDIR /usr/local/cloud-sba/

COPY ./target/cloud-sba-1.0.jar cloud-sba-1.0.jar
COPY ./src/main/resources/application.yml application.yml

EXPOSE 6388

ENTRYPOINT ["java","-Dfile.encoding=UTF-8","-jar","cloud-sba-1.0.jar","--spring.config.location=application.yml"]